﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="mylist.aspx.cs" Inherits="dzs.Web.Admin.qualitysked1.mylist" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script language="javascript" src="/js/CheckBox.js" type="text/javascript"></script>
    <style type="text/css">
        .auto-style1 {
            width: 281px;
        }
        .auto-style2 {
            width: 260px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<!--Title -->

            <!--Title end -->

            <!--Add  -->

            <!--Add end -->

            <!--Search -->
            <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
                <tr>
                    <td style="width: 80px" align="right" class="tdbg">
                         <b>项目单位：</b>
                    </td>
                    <td class="auto-style2">                       
                    <asp:TextBox ID="txtKeyword" runat="server"></asp:TextBox>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnSearch" runat="server" Text="查询"  OnClick="btnSearch_Click" >
                    </asp:Button>                    
                        
                    </td>
                    <td class="tdbg">
                    </td>
                </tr>
            </table>
            <!--Search end-->
            <br />
            <asp:GridView ID="gridView" runat="server" AllowPaging="True" Width="100%"   OnPageIndexChanging ="gridView_PageIndexChanging"
                    BorderWidth="0px" CellPadding="0" CellSpacing="1" CssClass="gv" GridLines="None" DataKeyNames="qid" 
                    AutoGenerateColumns="False"  RowStyle-HorizontalAlign="Center" >
                    <Columns>
                    <asp:TemplateField ControlStyle-Width="30" HeaderText="选择"    >
                        <HeaderTemplate>
                                    <input id="Checkbox1" type="checkbox" onclick="javascript: chall(this)" />                                    
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:CheckBox ID="DeleteThis" runat="server" />
                                </ItemTemplate>

<ControlStyle Width="30px"></ControlStyle>
                            </asp:TemplateField> 
                            
		<asp:BoundField DataField="projectunit" HeaderText="项目单位" SortExpression="projectunit" ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
		<asp:BoundField DataField="projectname" HeaderText="工程名称" SortExpression="projectname" ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
		<asp:BoundField DataField="supplier" HeaderText="供应商名称" SortExpression="supplier" ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
		<asp:BoundField DataField="productname" HeaderText="产品名称" SortExpression="productname" ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
		<asp:BoundField DataField="productnum" HeaderText="产品数量" SortExpression="productnum" ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
		<asp:BoundField DataField="productdw" HeaderText="计量单位" SortExpression="productdw" ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
		<asp:BoundField DataField="engineer" HeaderText="监造单位" SortExpression="engineer" ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
		<asp:BoundField DataField="onstreamtime" HeaderText="开工时间/计划开工时间" SortExpression="onstreamtime" ItemStyle-HorizontalAlign="Center" DataFormatString="{0:D}"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
		<asp:BoundField DataField="engineermode" HeaderText="监造方式" SortExpression="engineermode" ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
		<asp:BoundField DataField="productionstate" HeaderText="生产状态" SortExpression="productionstate" ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
		<asp:BoundField DataField="engineeropinion" HeaderText="监造意见" SortExpression="engineeropinion" ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
		<asp:BoundField DataField="plandate" HeaderText="计划日期" SortExpression="plandate" ItemStyle-HorizontalAlign="Center" DataFormatString="{0:D}"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
		<asp:BoundField DataField="user_name" HeaderText="质量员"  ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
		<asp:BoundField DataField="qresult" HeaderText="处理结果" SortExpression="qresult" ItemStyle-HorizontalAlign="Center"  > 
                            
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                        </Columns>

<RowStyle HorizontalAlign="Center"></RowStyle>
                </asp:GridView>
               <table border="0" cellpadding="0" cellspacing="1" style="width: 100%;">
                <tr>
                    <td style="width: 1px;">                        
                    </td>
                    <td align="left" class="auto-style1">
                        处理结果：<asp:DropDownList ID="ddlq" runat="server">
                            <asp:ListItem Value="0">未处理</asp:ListItem>
                            <asp:ListItem Value="1">已处理</asp:ListItem>
                        </asp:DropDownList>
                        <asp:Button ID="btnOK" runat="server" OnClick="btnOK_Click" Text="确定" /> <asp:Button ID="btnout" runat="server" OnClick="btnOut_Click" Text="导出" />
                    </td>
                    <td align="left">
                        &nbsp;</td>
                </tr>
            </table>
</asp:Content>
<%--<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceCheckright" runat="server">
</asp:Content>--%>

